package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_live_portend")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LivePortendModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;//直播标题
    private String startTime;//开始直播时间

    private String endTime;//权限关闭时间
    private String introduce;//直播介绍
    private Integer userId;//直播用户ID
    private String crtTime;//创建时间

    private Integer liveType;//1岗位预告2现有岗位
    private String comIds;//企业ID集合
    private String publishIds;//岗位ID集合
    private String coverUrl;//直播封面

    private Integer status;//1开启直播2待开启3直播结束
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private List<EnterpriseModel> enterpriseList;//企业集合
    @TableField(exist = false)
    private List<JobPublishModel> publishList;//岗位集合
    @TableField(exist = false)
    private String statusText;




}
